namespace Framework.UI
{
	public partial class RoomFrame : UIFrame
	{
		UnityEngine.UI.Button BtnClose;
		UnityEngine.UI.Button BtnStart;
		protected override void InitScriptBinder()
		{
			BtnClose = scriptBinder.GetValue() as UnityEngine.UI.Button;
			BtnStart = scriptBinder.GetValue() as UnityEngine.UI.Button;
		}
		
		protected override void RegisterUIEvent()
		{
			BtnClose.onClick.AddListener(this.OnBtnCloseClicked);
			BtnStart.onClick.AddListener(this.OnBtnStartClicked);
		}
		
		protected override void UnregisterUIEvent()
		{
			BtnClose.onClick.RemoveListener(this.OnBtnCloseClicked);
			BtnStart.onClick.RemoveListener(this.OnBtnStartClicked);
		}
	}
}
